# Makefile for crypto/munge plugin

AUTOMAKE_OPTIONS = foreign

PLUGIN_FLAGS = -module -avoid-version --export-dynamic

AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/src/common $(MUNGE_CPPFLAGS)

# Add your plugin to this line, following the naming conventions.
if WITH_MUNGE
MUNGE = crypto_munge.la
endif

pkglib_LTLIBRARIES = $(MUNGE)

# Munge crypto plugin
crypto_munge_la_SOURCES = crypto_munge.c
crypto_munge_la_LDFLAGS = $(PLUGIN_FLAGS) $(MUNGE_LDFLAGS)
crypto_munge_la_LIBADD =  $(MUNGE_LIBS)
